<html>
<head>
	<meta charset="utf-8">
	<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
	<script src="//imgcache.qq.com/qcloud/cloudbase-js-sdk/1.4.1/cloudbase.full.js"></script>
</head>
<body>
<script>
	const app = cloudbase.init({
		env: "qingclouds-8ghqztu29eb1b584"
	});
	app
	.callFunction({
		name: "jssdk",
		data: { callback: '' }
	})
	.then((res) => {
		const result = res.result; //云函数执行结果
		console.log(result)
		wx.config({
			debug: true,
			appId: result.appId,
			timestamp: result.timestamp,
			nonceStr: result.nonceStr,
			signature: result.signature,
			jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone'],
			openTagList: ['wx-open-launch-app', 'wx-open-launch-weapp']
		})
	});

</script>
Hello World
<!-- 跳转小程序的开放标签。文档 https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_Open_Tag.html -->
<wx-open-launch-weapp id="weapp" username="gh_8020b6127173" path="/pages/home.html?origin=web">
	<template>
		<button style="width: 200px; height: 45px; line-height: 45px; text-align: center; font-size: 17px; border-radius: 22.5px; color:cornflowerblue;">拉起小程序</button>
	</template>
</wx-open-launch-weapp>
</body>
</html>
